﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace JsonToSql
{
    /// <summary>
    /// Relation for entity
    /// </summary>
    public class JsonRelation
    {
        /// <summary>
        /// Name of relation
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// Keys for relation
        /// </summary>
        public List<string> Keys
        {
            get;
            set;

        }
        /// <summary>
        /// Relation type 1:N and M:N
        /// </summary>
        public string RelationType
        {
            get;
            set;
        }

    }
}
